package day06;

public class Test02 {
	public static void main(String[] args) {
		String[][] arr = new String[10][12];
		// arr[3][4] = "alice";

		for (int i = 0; i < arr.length; i++) {
			// 输出房号
			for (int j = 0; j < arr.length; j++) {
				String row = (i + 1 <= 9 ? "0" : "") + (i + 1);
				String column = (j + 1 <= 9 ? "0" : "") + (j + 1);
				String num = row + column;
				System.out.print(num + "\t");
			}
			System.out.println();
			// 输出客房状态
			for (int j = 0; j < arr.length; j++) {
				String state = arr[i][j] == null ? "空闲" : arr[i][j];
				System.out.print(state + "\t");
			}
			System.out.println("\r\n");
		}

	}
}
